#ifndef RAY_H
#define RAY_H

#include "RayAlgorithm.h"

class Ray
{
public:
    Ray(const Vector& newEyepoint, const Vector& newDirection, const Map& newMap);
    virtual ~Ray();

	const Vector& GetIntersection() const;
	const Scalar& GetDistance() const;

protected:


private:
	void DdaAlgorithm();

	Vector eyepoint;
	Vector direction;
	Map map;
	Vector intersection;
	Scalar distance;
};

#endif // RAY_H
